package com.parking.platform.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;
@Data
@ApiModel("修改密码")
public class UpPlatformPassForm {
    /***
     ("旧密码")：oldPass;
     */
    @Length(min = 6,max = 12,message = "密码长度错误6到12位")
    @ApiModelProperty("旧密码")
    private String oldPass;
    /***
     ("新密码")：newPass;
     */
    @Length(min = 6,max = 12,message = "密码长度错误6到12位")
    @ApiModelProperty("新密码")
    private String newPass;
}
